package cn.kgc.search.dao;

import cn.kgc.search.entity.ESArticle;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by teacher ZHANG on 2023/2/10
 */
//ElasticsearchRepository<Article, Integer>：Article-实体类 Integer-ID的类型
@Repository
public interface SearchDao extends ElasticsearchRepository<ESArticle, Integer> {
}
